<script setup lang="ts">
const props = defineProps<{
  // 高度
  height: String;
  // 宽度
  width: String;
}>()
</script>

<template>
  <div :style="{ width: `${props.width}`, height: `${props.height}` } " class="w-1/3 h-2/5 box-class rounded-lg">
    <slot></slot>
  </div>
</template>

<style scoped lang="stylus">
.box-class {
  border: 1px solid #979797;
  border-radius: 8px;
  position: relative;
  margin: 2px 2px;
  text-align: center;
}
</style>